<view class="notice-container">
    <!-- 当前通知 -->
    <view class="notice-warp" qq:if="{{noticeShow}}">
        <text class="notice-content" selectable>当前通知：{{notice}}</text>
    </view>
    <!-- 当前通知时间信息 -->
    <view class="nowInfo-warp" qq:if="{{noticeShow}}">
        <view class="nowtime-line">
            开始时间:{{nowStart}}
        </view>
        <view class="nowtime-line">
            截止时间:{{nowEnd}}
        </view>
    </view>
    <!-- 欲发布通知 -->
    <view class="wantNotice-warp">
        <!-- 发布通知框 -->
        <view class="board-item">
            <view class="title-warp">
                <view class="icon">
                    <image src="../../res/common/notice.png"></image>
                </view>
                <view class="title">发布通知</view>
            </view>
            <view class="notice-input">
                <textarea auto-height bindinput="noticeInput" value="{{wantNotice}}" maxlength="-1" type="text" placeholder="输入通知信息"></textarea>
            </view>
        </view>
        <!-- 时间选择 -->
        <view class="time-warp">
            <view class="time-row">
                <view class="time-col">开始时间：</view>
                <view class="time-col">
                    <picker mode="date" value="{{sdate}}" start="2021-08-08" end="2031-08-08" bindchange="bindSDateChange">
                      <view class="picker">
                        {{sdate}}
                      </view>
                    </picker>
                </view>
                <view class="time-col">
                    <picker mode="time" value="{{stime}}" start="00:00" end="23:59" bindchange="bindSTimeChange">
                      <view class="picker">
                        {{stime}}
                      </view>
                    </picker>
                  </view>
            </view>
            <view class="time-row" style="margin-top: 20rpx;">
                <view class="time-col">结束时间：</view>
                <view class="time-col">
                    <picker mode="date" value="{{edate}}" start="2021-08-08" end="2031-08-08" bindchange="bindEDateChange">
                      <view class="picker">
                        {{edate}}
                      </view>
                    </picker>
                </view>
                <view class="time-col">
                    <picker mode="time" value="{{etime}}" start="00:00" end="23:59" bindchange="bindETimeChange">
                      <view class="picker">
                        {{etime}}
                      </view>
                    </picker>
                  </view>
            </view>
        </view>
        <button class="notice-btn" bindtap="noticeSubmit">发布</button>
        <button class="notice-btn" bindtap="closeNotice" type="default">关闭所有通知</button>
    </view>
</view>